Skip to content

[pull] main from django:main#335

Merged
pull[bot] merged 2 commits intothreatcode:mainfrom
django:main
Mar 18, 2026
Merged

[pull] main from django:main#335
pull[bot] merged 2 commits intothreatcode:mainfrom
django:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 18, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

jacobtylerwalls and others added 2 commits March 18, 2026 08:22
…alue().

This avoids two isinstance() calls per UUID value.
…s in list_display.

When using related field lookups like 'parent__is_active' in list_display,
the admin now correctly detects if the final field is a BooleanField and
displays boolean icons instead of 'True'/'False' text.

Modified lookup_field() in django/contrib/admin/utils.py to retrieve the
final field from the path when traversing relations using LOOKUP_SEP (__),
allowing display_for_field() to properly handle BooleanFields.
@pull pull Bot locked and limited conversation to collaborators Mar 18, 2026
@pull pull Bot added the ⤵️ pull label Mar 18, 2026
@pull pull Bot merged commit 4b2b4bf into threatcode:main Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants